package com.lv.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lv.pojo.Admin;
import com.lv.pojo.LoginFrom;


/**
 * @Author:晓风残月Lx
 * @Date: 2022/4/28 18:47
 */

public interface AdminService extends IService<Admin> {

    Admin login(LoginFrom loginFrom);


    Admin getAdminById(long userId);

    IPage<Admin> getAdminsByOpr(Page<Admin> pageParam, String adminName);

    Admin updatePwd(Long usrId,String oldPwd);
}
